home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / prog_gen / kinstw27.zip / SETSAMPL.SET < prev    next >
Text File  |  1996-06-05  |  4KB  |  147 lines

  1. REM ********************************************************************
  2. REM ** This file contains just about every valid keyword there is.    **
  3. REM ** Edit it to create a settings file for your own program easily. **
  4. REM ********************************************************************
  5.  
  6. REM Define the title of the program
  7. TITLE My Program Name
  8.  
  9. REM Define message to display at bottom of screen
  10. MSG Copyright (c) 1995 by My Software Company
  11.  
  12. REM Define a help program
  13. HELP WINHELP.EXE, SETUP.HLP
  14.  
  15. REM Define a catalogue program
  16. CATALOG CATALOG.EXE
  17.  
  18. REM Specify main window size and resize options
  19. WINDOW 0, 3, 20, 20, 580, 350
  20.  
  21. REM Define colours
  22. COLS FF0000h, 0, FFFFFFh, 0, 2, 008080h, 00FF00h
  23.  
  24. REM Define the background, one of three ways:
  25. PATTERN BITMAP_1
  26. PATTERN , 4
  27. PATTERN , , 1
  28.  
  29. REM Define a bitmap to display over the background
  30. PICTURE ARKLOGO.BMP, 50, 2
  31.  
  32. REM Define an icon to display over the background
  33. ICON 1, 0, 20, 50, 0
  34.  
  35. REM Define minimum processor type
  36. CPU 2
  37.  
  38. REM Define coprocessor required
  39. COPR 1
  40.  
  41. REM Define minimum DOS version
  42. DOSVER 3.2
  43.  
  44. REM Define minimum Windows version
  45. WINVER 3.1
  46.  
  47. REM Define default directory
  48. DIR C:\THEDIR\
  49.  
  50. REM Define reboot option
  51. REBOOT 0
  52.  
  53. REM Define restart option
  54. RESTART 2
  55.  
  56. REM Define program name so it can be run from SETUP
  57. RUN THEPROG.EXE, /S, 2
  58.  
  59. REM Define documentation file so the user's attention will be drawn to it
  60. DOC THEPROG.DOC
  61.  
  62. REM Define a program or command to run at the beginning of the installation
  63. FIRST MEM
  64.  
  65. REM Define a program or command to run at the end of the installation
  66. LAST CONVERT.EXE, /S
  67.  
  68. REM Define the automatic archive unpack identifier
  69. UNPAK __
  70.  
  71. REM Define the parameters to use with LHA.EXE
  72. LHA E /M1
  73.  
  74. REM Define the parameters to use with PKUNZIP.EXE
  75. ZIP -O
  76.  
  77. REM Define the parameters to use with ARJ.EXE
  78. ARJ E
  79.  
  80. REM Define the parameters to use with self-extracting archives
  81. EXE /s
  82.  
  83. REM Define another unarchiving program
  84. ARCHIVE .ZIP, UNZIP.EXE, -O
  85.  
  86. REM Define what to install, where, how, how big, what disk, and question to ask
  87. INSTALL MYPROG.EXE, ~MAIN, 4, 100, Install Disk 1
  88. INSTALL *.DOC, ~MAIN, 4, 50, Install Disk 1
  89. INSTALL *.DL_, ~SYS\*.DLL, 2, 200, Install Disk 1, Update Windows DLLs?
  90.  
  91. REM Define files to be deleted at the beginning of installation
  92. DEL OLDPROG.EXE
  93. DEL OLDHELP.HLP
  94.  
  95. REM Define directories to be created at the end of installation
  96. MKDIR DATA
  97. MKDIR TEMP
  98.  
  99. REM Define variable information to be entered by the user
  100. INPUT 0, 8, , @@######, Serial Number
  101. INPUT 1, 50, , ?* ?*, First and Last Name, Enter your First Name and Last Name
  102.  
  103. REM Define the file extension for backing up AUTOEXEC.BAT and CONFIG.SYS
  104. BAK .BKK
  105.  
  106. REM Specify that the main directory should be added to the DOS Path
  107. PATH
  108.  
  109. REM Specify lines to be added to the middle of AUTOEXEC.BAT
  110. AUTO SET PROGDIR=~MAIN
  111.  
  112. REM Specify a shell command to run at the very end of AUTOEXEC.BAT
  113. SHELL WIN MYSHELL /Q
  114.  
  115. REM Specify the minimum number for the FILES value in CONFIG.SYS
  116. FILES 30
  117.  
  118. REM Specify the minimum number for the BUFFERS value in CONFIG.SYS
  119. BUFFERS 20
  120.  
  121. REM Specify lines to be added to the end of CONFIG.SYS
  122. CONF DEVICE=~MAIN\MYTSR.EXE /F:2 /P:LPT1
  123.  
  124. REM Write user entered data into the main EXE file
  125. RFILE ~MAIN\MYPROG.EXE, C
  126. REG 1076, 9, ~0
  127. REG 0, 51, ~1
  128.  
  129. REM Write user entered data into an INI file
  130. IFILE ~WIN\MYPROG.INI
  131. ISECT UserInfo
  132. INI Serial=~0
  133. INI Name=~1
  134.  
  135. REM Add group and items to Program Manager
  136. GROUP My Program Name
  137. ITEM ~MAIN\MYPROG.EXE, My Program Name
  138. ITEM ~MAIN\MYPROG.HLP, My Program Help
  139. ITEM NOTEPAD.EXE READ.ME, Release Notes
  140.  
  141. REM Define the installation log file name
  142. LOG MYPROG.LOG
  143.  
  144. REM Define additional files to be deleted during uninstallation
  145. REMOVE MYPROG.CFG
  146. REMOVE ~WIN\MYPROG.INI
  147.